﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" ValidateRequest="false"%>
<asp:Content ID="Content4" ContentPlaceHolderID="script_css" runat="server">
    <link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/bar.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="loginHolder" runat="server">
    <%if (ViewData["current_user"] != null)
      { %>
    <%Html.RenderPartial("UserStateControl", ViewData["current_user"]); %>
    <%}
      else
      { %>
    <%=Html.ActionLink("注册", "Index", "User")%>
    <%=Html.ActionLink("登录", "Login", "User") %>
    <%} %>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    CategoryLive
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <%=ViewData["categoryname"] %>
    </div>
    <div style="border-style: solid; width: 99%; height: 90%; border-width: 1px; border-color: Gray;">
        <%Html.RenderPartial("LiveControl", ViewData["live"]); %>
    </div>
</asp:Content>
